package com.cade.agriculturemall.view.shoppingCar.settlement;

/**
 * Created by Lobby on 2017/12/26.
 */

public class SettlementViewModel<T> {

    public static final int TYPE_ADRESS = 1;
    public static final int TYPE_SJ = 2;
    public static final int TYPE_CP = 3;
    public static final int TYPE_SJ_FOOTER = 4;
    public static final int TYPE_EMPTY = 5;
    public static final int TYPE_NO_FIRST = 6;
    public static final int TYPE_PAY = 7;

    public static final int TYPE_ORDER_TIME = 8;
    public static final int TYPE_OPERATE_BUTTON = 9;
    public static final int TYPE_TICKET = 10;


    //    public static final int TYPE_ORDER_TIME=8;
    private int type;
    private T object;

    public SettlementViewModel(int type, T object) {
        this.type = type;
        this.object = object;
    }

    public int getType() {
        return type;
    }

    public T getObject() {
        return object;
    }

    public void setObject(T object) {
        this.object = object;
    }
}
